/**
 * @file logger.h
 * @author xc 
 * @brief
 * @version 1.0
 * @date 2025-01-14 
 *
 */

#ifndef LOGGER_H
#define LOGGER_H


#include "spdlog/spdlog.h"


class logger {
    public:
        logger();
        ~logger();
        std::shared_ptr<spdlog::logger> log;
        /**
        * @brief
        *
        */
        void InitLogger();

        /**
        * @brief
        *
        */
        void DeleteOldestLogFiles();

        /**
        * @brief
        *
        */
        void DestroyLogger();
};
#endif // !LOGGER_H
